Model-Based Navigation and Control of Multirotor UAVs: A Machine Learning Approach