pot_list function

A check and extraction of clique potentials from a Markov random field to be used in the junction tree algorithm