Create MatrixReplacement