A vectorial variational mode solver and its application to piecewise constant and diffused waveguides | IEEE Conference Publication | IEEE Xplore