magnetometer-current calibration cleanup