modified:   util/scanForPositiveSampleLocations.m