removed pythonVisitor from all inference alg. which seem so be not suitable for python callbacks (segfaults)