Terahertz waveplate based metamaterial