Issue #80, add documentation
Issue #80, add documentation in threshold model