Calibration of gravity sensor data in the Tizen reference phone