ENH: changing curvefitter to use lmfit