nd Markov