Temperature control and analysis system