Add thermodynamic potentials

Not ready to be merged. Opening for comments/suggestions.
This could also be added to the soon-to-be-awesome chemistry parsing file.