Added files for merging ROIs as well as converting sparse matrix arrays into index lists.