DblMatrix[] XData = FUNC.getXdata();
DblMatrix YData = FUNC.getYdata();
Min m = new Min(this.outSet);
m.addResponseVariable("pH");
m.run();
DataSet minpH = m.getResult();
DblMatrix min = new DblMatrix((Double)minpH.getValueAt(0,1));
Max mx = new Max(this.outSet);
mx.addResponseVariable("pH");