Beam propagation method for design of optical waveguide devices. (2016)