Changed accelerometer to log results