renamed to LsqFit