updates to thermodynamics_dG_p class