Fix a bug in CalibrateAcceleration method.