Magnetometer (compass) calibration software