Analysis of Planar Optical Waveguides Using Different Techniques