Update Matrix.java