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