minor changes made, a few functions added to Sim for time step manipulation