Fixed cdf accummulation bug.