curved waveguide