Added ability to specify number of timesteps to run for