Add CDF method
Merge pull request #6 from VividCortex/issues/5-cdf

Add CDF method