Finite Difference Analysis of Planar Optical Waveguides