saving of simulation states now also saves the random seed