S&P 500, Dow close slightly up; Nvidia gains after the bell

S&P 500, Dow close slightly up; Nvidia gains after the bell