Added NextDouble to Discrete, as it was.