Ab-Initio Study of Thermoelectricity of Layered Tellurium Compounds