Added first duration anomaly detection algorithm