Initial calculations for the trip calculator.