Changed some functions.  Now accepting "at least" 50% of the values that pass
the filter.