Fix bug in job submission script.
Randomize initial spin configurations.