public boolean checkIfParamsCorrect() {
        return numberOfPoints != null &&
                numberOfRays != null &&
                focusingAccuracy != null &&
                refractiveIndex != null &&
                minimumSigma != null;
    }