Three-Dimensional Magnetic Field Numerical Calculation by Equivalent $B\hbox{–}H$ Method for Magnetic Field Mitigation