Calculating Total Travel Time and Distance