Stabilization controller for rotorcraft using float quaternion implementation