Doing some more analysis, and changed phase randomization to be within cycle