Tunable Terahertz Metamaterials And Gradient Metasurfaces