made linreg a PHP callable function?