docs: public double calcKMeansCosts(double[] center) {
  		assert (this.sumPoints.length == center.length);
  		return this.sumSquaredLength - 2
  				* Metric.dotProduct(this.sumPoints, center) + this.numPoints
  				* Metric.dotProduct(center);
  	}