Equivalent sources methods for the numerical evaluation of magnetic force with extension to non-linear materials