Photonic integrated circuit: Optimization and applications.