[PD] [c_markov] from rjlib producing unexpected value