Fixed a typo
Improved type stability
Now the GLM methods correctly handle weighting
Import df_residual
Added test for weighted OLS and GLM