Add thermodynamic potentials

Not ready to be merged. Opening for comments/suggestions.
I am okay with calling it pressure, I think.  A little unsure though.  We would have to rename the class attribute, obviously.