Text this: Optical waveguide modeling : techniques and comparison