Nanostructured Metamaterials For Thermal Applications