Fixed bugs in MatrixUtil.java

Fixed the methods to create correct projection transformations. Previously the matrices were incorrect because of some missing minus symbols.