now doing matrix multiplication of uniforms in c code rather than in shader