Recent Advances in Photonic Devices Modeling and Applications