updates to thermodynamics_dG_r class