// System.out.println("delta parms: " + deltaParms);
final DoubleMatrix1D y = (DoubleMatrix1D) ma.add(Y, deltaY);
final LeastSquareResults lsRes = ls.solve(X, y, SIGMA, PARAM_FUNCTION, PARAM_GRAD, solution);
final DoubleMatrix1D trueDeltaParms = (DoubleMatrix1D) ma.subtract(lsRes.getFitParameters(), solution);
// System.out.println("true delta parms: " + trueDeltaParms);
assertEquals(trueDeltaParms.getEntry(0), deltaParms.getEntry(0), 5e-5);
assertEquals(trueDeltaParms.getEntry(1), deltaParms.getEntry(1), 5e-5);
assertEquals(trueDeltaParms.getEntry(2), deltaParms.getEntry(2), 5e-5);