Updated Flight Algorithm