Fixed issue #12 by having the createFraction function take a second para...

...meter corresponding to the probability that the value being generated will be a whole number.