h1=(x2-x1)/100.0;
y=buildVector(load1(x1,v));
Output out = new Output();
StepperDopr853 s1 = new StepperDopr853();
Odeint integ1 = new Odeint(y,x1,xf,atol,rtol,h1,hmin,out,d,s1);
integ1.integrate();
f1=buildVector(score(xf,y));
y=buildVector(load2(x2,v2));
StepperDopr853 s2 = new StepperDopr853();
Odeint integ2 = new Odeint(y,x2,xf,atol,rtol,h1,hmin,out,d,s2);