Statistics for Semi-Analytical Framework for Thermo-Mechanical Analysis of Energy Piles in Elastic and Elastoplastic Soils