Average speed and time-distance calculations