fixed error where accelerometer calibration was applied to magnetometer
data.