Add interface for thermodynamic potentials
Update name of gibbs function
Add einstein thermal model