Generate random vectors in make_random. fixes #398
Merge pull request #401 from unnonouno/feature/fix-random-vector

Generate random vectors in make_random. fixes #398