Complex k band diagrams of 3D metamaterial/photonic crystals