rand needs to be called with identical length inputs to produce identica...

rand needs to be called with identical length inputs to produce identical sequences