Local structure study of new thermoelectric materials