Added random offsets to cGridStructGen.

Fixes #740.