SDMat conversion