Data2fd function

Create smooth functions that fit scatterplot data.