Boltzmann distribution calculator