CAD of complex passive devices composed of arbitrarily shaped waveguides using Nystro/spl uml/m and BI-RME methods