created tlengths.m to determine timestep behaviour of ode45