6 DoF aircraft simulator coded in MATLAB