Dynamic Metamaterials Towards Terahertz Applications