Transparent Boundary Condition for the Calculation of Eigenmodes in Transverse Infinite Waveguides