Added option for averaging all voxels into one