Implementing NormalizeVector(x,y,[z]).