Monte Carlo routines, specifically the Potts and Ising models.