Matlab linear regression corrections