Added test cycle counter functionality. Updated adresses and fixed syntax errors.
Added test cycle counter functionality. Updated adresses and fixed syntax errors.

PeterMagnusson/modexp,PeterMagnusson/modexp,PeterMagnusson/modexp,PeterMagnusson/modexp