Thermoelectricity Of Nanowires