Added generalized setter to sparse table/vector accessors