Terahertz Metamaterial Devices: From Thickness And Material Dependence To Perfect Absorption