best fit polynomial