This function normalizes a vector to unit length.
normalize.vector(v)
v
normalized vector
This is an auxiliary function.
Nicole Kraemer
v<-1:5 w<-normalize.vector(v)