fix Random.rand(1.0) behavior

Random.rand should be equivalent to Random::DEFAULT.rand