Generate random walk at k-rate. rnd31 outputs in range kstep and output is bound within imin and imax