Added typechecking for GLM uniforms