Curve fitting algorithm
Array of points to fit in the format [x1, x2, ... ], [y1, y2, ... ]
Takes an array of parameters and returns a function with the independent variable as its sole argument
Options object
Curve fitting algorithm