Variable timestep bug fixed

There was an issue with variable timestep: simulation with a fixed
number of timesteps yielded different total time every run, which
resulted in huge oscillations of measured fitness. The issue is
fixed.