Fixed the same bug from module.py in markov_learn: