added option for quadratic fit

and updated notebook render