added vec3f and vec4f. minor improvements.