Design of WDM Optical Networks for the Analysis of Cross Phase Modulation and Self Phase Modulation