code: public static double distance(double[] pointA, double[] pointB, int offsetB) {
  		return Math.sqrt(distanceSquared(pointA, pointB, offsetB));
  	}
docs: Calculates the Euclidean distance of two points. Starts at dimension offset
  + 1 of pointB.
  
  @param pointA
  first point
  @param pointB
  second point
  @param offsetB
  start dimension - 1 of pointB
  @return the Euclidean distance