Text this: A unified method for analyzing a large class of waveguides and waveguide junctions /