accel and mag calibration hooks