Update to fine tune use of magnetometer.