pmf to cdf done, need test