Partition Function - Markov Random Fields | OneNoughtOne