remove all instances of mt_rand
Merge pull request #2 from scintill/pr_removeallmtrand

remove all instances of mt_rand