Added Matrix.java constructor & dimensions