code: public Vector setAngle (double angle) {
          double l = length();
          return set(l * Math.cos(angle), l * Math.sin(angle));
      }
docs: Sets this vector's angle, preserving its magnitude.
  @return a reference to this vector, for chaining.