Fixed errors in HMC5883L code