Joint Probability Distribution Model for High-Order Markov Chains