added deconstructor to the IMU object that shutsdown the IMU device