Vanderbilt stops South Carolina, gets first conference win