Update the selection so that when the random number is out of bounds it is kept within the bounds using modulus to rope the number back within bounds.
Merge pull request #1 from DavidTPate/master

Fix Issue With Random Number Being Outside Bounds