Distance time to distance time

Switch direction of calculation