remove debug statements from compute_cdf
doctest: SKIP for issue 7702