Added define for MAJOR_CYCLE test
Defined constants for initial values
Added debug conditional compilation