Maths converges on a better thermoelectric material