Calibration of accelerometer and gyroscope.
Calculation of pitch using acc.
Calculation of pitch using gyro.