Accelerometer Sensor working