On the Computation of Nonlinear Eigenvalues in Electromagnetic Problems