Implemented UniformDistribution.