whoops. fixed cdf calculation.