Correlation Between Structure, Doping And Performance Of Thermoelectric Materials