function LS = mallstsq(p,t,y)
%Least Squares sum of square errors to Malthusian growth model
LS = sum((p(1)*exp(p(2)*t)-y).^2);
end

