Make Matrix swig python fix only for Matrix class