Add freezeDevicePotential function
remove blank lines
checkpoint
fix the print loop
Use only blockIdx as the subcode for the rnd seed.

When I used the old formula with threadIdx, the second and subsequent
block results came out identically.
Merge branch 'experimental/multiblock' into experimental/cuda-one-file