added laplace correction for markov chains