A Real-Time Magnetic Dipole Localization Method Based on Cube Magnetometer Array