Boundary formulation of propagation problems in guiding structures for integrated optics