The Thermodynamics of Spins Coupled to Lattices