function for generating n unique random draws
Merge branch 'master' of github.com:jooh/johansmatlab