updating header extensions/update math vec3 to template