New anomaly detection script and general improvements to TraP_QC_plots