Improve accelerometer