Added Dict constructor from CSMat