gensim.matrix.r bug corrected, tests passed