Add functions for setting arrays of 2x2 and 3x3 matrix uniforms