Fixed random number generator so it has uniform 
distribution.