Python wrapper class for HMC5883L magnetometer (using smbus I2c)