double incr = (resp[npe-1] - resp[0])/1000;
for(int i=1; i<1000; i++){
respe[i] = respe[i-1] + incr;
}
for(int i=0; i<1001; i++){
xerre[i] = cspe.interpolate(respe[i]);
}
Stat stat = new Stat(xerre);
this.minimumAerror = stat.minimum();
this.maximumAerror = stat.maximum();
this.meanAerror = stat.mean();