ENH: Many changes to algorithms that choose nifti files for analysis