fixed prng in rocks.h