Fix typo in docs for decreasing
Merge pull request #5 from cschneid/fix_minor_typo

Fix typo in docs for decreasing
Add doctests and many tests