Added vec2 functionality;fixed typo in vec4 section