Optimal estimation of complex aerial movements using dynamic optimisation