include new curve fitting lib