I2C improvements

Updated hasComms method to include the IMU
Improved the layout and structure of the IMU acquisition code
Improved commenting