Added calculate functions for FlightPlan