Accelerometer implemented.