Added error computation to the linear fit
Added functions to useful_functions.py that would calculate the standard deviation error of the fits. Added a function that would fit a general polynomial using the least squares method. Changed functions in global_sig.py to utilize new fitting abilities.