Add support for Vec2 and Vec4 uniforms

After this, I think all the types supported in the linear algebra library will be supported as attributes, varyings, and uniforms.