private double normVector(double[] z){
  double sum=0;
  for (int i=0; i < problem.getNumberOfObjectives(); i++) {
    sum+=z[i] * z[i];
  }
  return Math.sqrt(sum);
}

private double normVector ( double [ ] z ) { double sum = 0 ; for ( int i = 0 ; i < problem . getNumberOfObjectives ( ) ; i ++ ) { sum += z [ i ] * z [ i ] ; } return Math . sqrt ( sum ) ; }
computes the norm of a vector .
