Improving GMR magnetometer sensor uncertainty by implementing an automatic procedure for calibration and adjustment