function cAB=Hermite_overlap(paramsA,paramsB) lA=params(:,1); mA=params(:,2); qA=params(:,3); lambda=paramsA(:,4); lB=params(:,1); mB=params(:,2); qB=params(:,3); q0A=i*imag(qA); q0B=i*imag(qB);