IMU acceleration unit correction and code standardization