trim_tunnel_outliers function

Trim out artifacts and other outliers from the extremes of the tunnel