Simulation now runs for a specifyable number of seconds defined in the Definitions class