fix param names in docstrings to match actual param names
fix typos, including a severe one
Merge pull request #144 from ThomasWaldmann/master

bug fix + some small fixes