Converted gyro rotation computations to use quaternions, fixed coordinates and increased rate of convergence to current gravity.