Rearrangement and calibrate accelerometer.