Updated markovchain for probability