Python Linear Least Squares Fitting