added cross validation for OLS