Accurate finite element calculation of full vectorial modes in curved optical waveguides