Formatting
Make curve fitting a bit more stable
Improve curve fitting (render original points as scatterplot instead of
smoothed line)