Engineering And Utilizing Nonlinear And Effective Properties Of Silicon And Silicon Nitride Waveguides