Added temperature-dependent H and S calculation