Fix for RandomWalk. Works now! test with testDM(RW,10)