Analysis of microwave ferrite devices by using the finite-element method