Add confusion matrix to python bindings.
Setting the log level is possible now.