Fixed a compiler Error in the IMU class