Converting Accelerometer reading to degrees