Modeling of EBG Structures Using the Transmission Matrix Method