FIX/DOC py3 and add docstrings