edited MAG3110 library for calibration