Implemented flight calculator
Fully ported from previous calculator