Photonic Integrated Circuits for Nonlinear Devices, Ranging Techniques, and Sensing Applications