Converting return values of Python Matrix::Get and DistMatrix::Get from the ctypes value to the python value