Mathematical modelling and simulation of a quadrotor unmanned aerial vehicle with automatic altitude and speed control