Simulating the time-series