First go at the HMC5883 library