Modelling Temperature Sensor Delay

So you are adding an estimate of the rate of temperature change, to the latest reading ? To try to predict what the following reading will be ?

At the rate at which a microcontroller would be reading the temperature, that hardly seems necessary. You may end up simply confusing yourself by amplifying the "noise" which will be present in the temperature readings.