Tunable Compact Thz Devices Based On Graphene And Other 2D Material Metasurfaces