protected double distance(int i,int k,int[] designations){
  return Math.sqrt(Math.max(selfK[i] - 2.0 / ownes[k] * evalSumK(i,k,designations) + meanSqrdNorms[k] * normConsts[k],0));
}

protected double distance ( int i , int k , int [ ] designations ) { return Math . sqrt ( Math . max ( selfK [ i ] - 2.0 / ownes [ k ] * evalSumK ( i , k , designations ) + meanSqrdNorms [ k ] * normConsts [ k ] , 0 ) ) ; }
computes the distance between one data point and a specified mean
