added mat.java - sample with using Mat in java