goodness of fit linear regression python