Implements the Metropolis Hasting algorithm to approximate Mallow's model