Determination of the Mode Spectrum of Arbitrarily Shaped Waveguides by the Eigenvalue-Tracking Method