Green'S Function Analysis Of Periodic Structures In Computational Electromagnetics