Set the rightmost element to zero in the Blelloch scan.
Improve the compute_cdf() test.