Sebastion Magwick's IMU and AHRS sensor fusion algorithm.