Update Matrix.sml