Replica Exchange class

Replica Exchange class, for rem in a generic hamiltonian parameter