move macro out of namespace
remove unused ID iterator
fix match metrics tests
generate Python bindings documentation with Sphinx
fix Python module
streamline doc generation
fix bugs, generate docs
fix build bug