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