Updated documentation

- add pmf formulas for all discrete distributions in the doc
- add the documentation of parameter retrieval methods
- clean up & bug fixes