Accuracy Improvement in Magnetic Field Modeling for an Axisymmetric Electromagnet