Remove the blockDim from the loop calculation
Fix rndseed -- state is not an array