public double[] getWeights(){
        if(!this.weightsEntered && this.weightOption>0 && this.nResponses>0){
            switch(this.weightOption){
                case 1: for(int i=0; i<this.nResponses; i++)this.weights[i] = Math.abs(this.responses[i]);
                        this.weightsEntered = true;
                        break;
                case 2: for(int i=0; i<this.nResponses; i++)this.weights[i] = Math.sqrt(Math.abs(this.responses[i]));
                        this.weightsEntered = true;
                        break;
            }
        }
        return this.weights;
    }