docs: static public double rastriginNonCont(double[] x) {
  
      double sum = 0.0;
      double currX;
  
      for (int i = 0; i < x.length; i++) {
        currX = myXRound(x[i]);
        sum += (currX * currX) - (10.0 * Math.cos(PIx2 * currX)) + 10.0;
      }
  
      return (sum);
    }