Minimum Snap Trajectory Generation and Control for an Under-actuated Flapping Wing Aerial Vehicle