Tilt compensating a HMC5883 compass with a MMA7455 Accelerometer