Now has T vector input - it was tmax & tstep