Instead of using offset and factor, use a more natural min and max for genRandom.

Also, pass floats rather than ints when filling an array of floats!

Change-Id: I9917c6bc0212c9f2cd47b9f948a1765b4eec2b7d
7 files changed