This function calculates the Kelvin temperature of R1234yf from the state record (e.g., use setState_phX function for input). The temperature is modelled by the fundamental equation of state of Richter et al (2011).