Returns a random real number according to uniform distribution on [a,b[. By default a is 0 and b is 1.