analyze_thermal_stats function

Calculate Comprehensive Thermal Statistics