Influence of Material Structure on Thermoelectric Properties of Atomic Scale Systems.