Added offset calibration for gyro