Switched rand() to mt_rand()
Merge pull request #1543 from Slamdunk/minor/mt-rand

Switch rand() to mt_rand()