Bug in edge filter solved (was not picking self-cycles) and docstrings updated