spmatrix transfer