Determination of cut-off wavelengths of ridged waveguides by modal analysis