Finishing cleaning up IMU class.