The Evolution of the Built Environment: Complexity, Human Agency and Thermal Performance