Dow, S&P 500 Rise After Unstable Week