Added 'items' and 'toPmf' functions to CumulativeDistributionFunction.