code: public Vector normalize() {
          double length = length();
  
          x /= length;
          y /= length;
          z /= length;
  
          return this;
      }
docs: Converts this vector to a unit vector (a vector with length of 1).
  
  @return the same vector