added vector normalize() function