Changed deltaT to nanoseconds