Made distribution histogram and CDF accurate