%Warning: The function LEASTSQ is obsolete and has been replaced by LSQNONLIN. par=leastsq('trackfun', par, options);
