Added sparse data vector processing code.