Update Mat.java

BrancheA gh 5