Completed the Python interface to the new classes

also:
- fixed segmentation fault triggered by incorrect arguments to certain classes
- updated documentation
- updated test script to work again and added new test