Added conversion from int16_t value to g value for accelerometer data