Update Matrix4.java

Add toBuffer