Calibration of the accelerometer in measurement mode