Text this: Unscented kalman filtering for spacecraft attitude and rate determination using magnetometer.