filter rois that are closer than 40cm
incoporate weighting by number of samples (tiagos changes)