Added calibration for accelerometer.