if((nValues>1) && (yvalues[0][nValues - 1] < 0)) { yvalues[0][nValues - 1] = 0; }
    public void setShortfallValues() {	shortfallExists = false;	if((reqModel.getNumSeries() == 0) ||	   (projModel.getNumSeries() == 0)) {	    return;	}	nValues = reqModel.getXSeries(0).length;	if(nValues != projModel.getXSeries(0).length) {	    return;	}		xvalues = new double[nSeries][];	yvalues = new double[nSeries][nValues];	xvalues[0] = reqModel.getXSeries(0);	if(nValues == 0) { return; }	yvalues[0][0] = ((reqModel.getYSeries(REQUESTED_SERIES_INDEX)[0] -			  reqModel.getYSeries(ACTUAL_SERIES_INDEX)[0]) +			 (projModel.getYSeries(REQUESTED_SERIES_INDEX)[0] -			  projModel.getYSeries(ACTUAL_SERIES_INDEX)[0]));	for(int i=1; i < nValues ; i++) {	    yvalues[0][i] = 	    (((reqModel.getYSeries(REQUESTED_SERIES_INDEX)[i] -	       reqModel.getYSeries(ACTUAL_SERIES_INDEX)[i]) +	      (projModel.getRealYSeries(REQUESTED_SERIES_INDEX)[i] -	       projModel.getRealYSeries(ACTUAL_SERIES_INDEX)[i])) +	     yvalues[0][i-1]);	    if(yvalues[0][i] > 0) {		shortfallExists = true;	    }	    else if(yvalues[0][i] < 0) {		yvalues[0][i] = 0;	    }	}    }