Use xMat with Python
To run the xMat from Python, it has to be compiled as a C library first. Here, an additional wrapper class will also be used to allow more flexible use.