best fit curve functions - least squares line and circle