Matlab simulation of 2D quadrotor systems