Fix documentation bug

Closes #47
Add test for correctness of CDF for discrete distributions.

Currently tests are failing because of insufficient precision but
CDF definition is correct
Add note to documentation