written function documentations for filter_xxx functions. Issue #36 (https://github.com/mauriceling/dose/issues/36)