Created file temp_data, which has a function which integrates the temperature differential