algorithm for forward selection with linear regression