added function to sum voxel densities