Package for fitting a curve and storing the function

LsqFit.jl?