A real-time vertical plane flight anomaly detection system for a long range autonomous underwater vehicle