Nonperiodic Silicon Photonic Devices For Nonlinear Photon Generation And Multimode Design For Optical Computing