final double[] fwds = new double[4];
System.arraycopy(xNodes, index, fwds, 0, 4);
for (int i = 0; i < 4; i++) {
vols[i] = BlackFormulaRepository.impliedVolatility(pdeGrid.getFunctionValue(index + i), fwds[i], option.getStrike(), option.getTimeToExpiry(), option.isCall());
}
Interpolator1DDataBundle db = _interpolator.getDataBundle(fwds, vols);
final double exampleVol = _interpolator.interpolate(db, x);
final double[][] res = new double[n][];
for (int i = 0; i < n; i++) {
final int m = strikes[i].length;
res[i] = new double[m];