Better interfaces for distributions. And added Uniform distribution.