Thermoelectric properties of topological insulator BaSn2