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