median absolute deviation based outlier selection algorithm added to pick traces
more sanity checks