added ols regression. needs major debugging