fixed random generator
Merge pull request #122 from TylerBackman/develop

fixed random generator