Added some more GLSL funcs.  Fixed type inference for vectors.  Fixed multiple definition bug.