Update Mat.java

master gh pull