Writing out a ct every 2^n cycles.

Makes running evaluations simple.
Also fixed a silly rand() mistake, '<' instead of '>'.