Nice one, jmac698! (I haven't tested it, but it the idea is a good one and the implementation looks OK to me).
For a more realistic distribution of the jitter, try changing:
rand(6)
to:
rand(2)+rand(2)+rand(2)
That should give a roughly gaussian distribution over the the range 0 to 6 (average 3, standard devation around 1-ish).