Stocks turned in a relatively lackluster performance during trading on Tuesday before eventually ending the session modestly higher. With the uptick on the day, the major averages added to the notable gains posted in the previous session.