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