Distribution function in MarkovEngine