Consolidated all linear regressions into one class