Title: Effective Medium Theory of Metamaterials and Metasurfaces