By physically squeezing or stretching a grid of atoms, scientists can change how a material conducts electricity or stores magnetic information