Merge pull request #1 from arne-cl/master

added docstrings to helper functions