SMS dit: Thermodynamics in geochemistry