Update matrix.java

hello every body