Scientists at the University of Maryland claim to have discovered a new material that can heat or cool automatically depending on the surrounding conditions.