Function Vector.normalize

Set vector length to 1

void normalize();