Passing modelView matrix from c to java