Extended SWIG python interface (inspired by Kyle Ellrott): inference is possible...