finished Matrix.java
finished java portion
java finished; pic still needs to be fixed