code: private double[] multiScore(MultiStringWrapper ms,MultiStringWrapper mt) 
  	{
  		if (ms.size() != mt.size()) {
  			throw new IllegalArgumentException("inputs have different numbers of fields");
  		}
  		int n = ms.size();
  		double scores[] = new double[n];
  		for (int i=0; i<n; i++) {
  			scores[i] = getDistance(i).score(ms.get(i), mt.get(i));
  		}
  		return scores;
  	}
docs: Compute the scores for each primitive distance function on each field.