double normdistForBestPoint() {
        double normalDistance = 0;
        for (int i = 0; i < numOfParams; i++) {
            normalDistance += Math.abs(pointsX[0][i] - initialPoint[i]) / bound[i];
        }
        normalDistance = normalDistance / numOfParams;
        return normalDistance;
    }