Fast magnetic field modeling for shielding systems