Removed accelerometer reading code.