Finding the best polynomial curve fit in the least squares sense to a set of data was first developed by Gauss during the 18th century when he was only 17. Hundreds of years later Gauss's least ...