Added class corresponding to the Potts model. It computes pseudolikelihood and its derivatives