General finite-element modeling of 2-D magnetophotonic crystal waveguides