Changed the generated matrices so that they don't need to be transposed when sending to gl