Automatic Magnetometer Calibration with Small Space Coverage