Made changes to Accelerometer class to comply with changed implementation of Calculat...