docs: protected double updateEvaluationWindow(int index,int val){
      	
      	int[] newEnsembleWindows = new int[this.ensembleWindows[index].length]; 	
      	
      	int wsize = (int)Math.min(this.evaluationSizeOption.getValue(),this.ensembleAges[index]+1);
      	
      	int sum = 0;   
      	for (int i = 0; i < wsize-1 ; i++){
      		newEnsembleWindows[i+1] = this.ensembleWindows[index][i];
      		sum = sum + this.ensembleWindows[index][i];	
      	}
      	
      	newEnsembleWindows[0] = val; 
      	this.ensembleWindows[index] = newEnsembleWindows; 
  
      	if (this.ensembleAges[index] >= this.maturityOption.getValue())
      		return (sum + val) * 1.0/wsize;
      	else
      		return 0; 
      		
      }