Electromagnetic Theory and Applications for Photonic Crystal