Remake getOLSCoef func and main