Small optimization to uniform01

Only need to chech u < 1 if RNG returns non-integral variates.