correlation matrix for KLE swig cpp python