An Application of the Inexact Newton Method to Nonlinear Magnetostatics