Modified the general_lstsq_fit_with_err() function in useful_functions.py so that can use the pseudo inverse function I wrote.