Stabilization controller for rotorcraft using integer euler implementation