Update DM_Matrix.php