Fix a few final details with the acceleration functions. I can't figure out why Y acceleration doesn't work the same way as X and Z one with the same code, but it works ok so this can be left for later.