Time series now correctly checks for number of timesteps