Method for compensating the effect of disturbances on magnetometer measurements: Experimental results