function y = lstsq3n(p,t,d)
%Least Squares Fit
y = sum((d-(p(1)*exp(-p(2)*t) + p(3)*exp(-p(4)*t) + p(5)*exp(-p(6)*t))).^2);
end

%p = [8.1514,0.1601,1.639,0.02078,0.6083,0.003794]
%p = [14.147226,0.242263,2.006344,0.0206949,0.492813,0.00319572]

