A generic, low resource usage, single input pre-processor for an anomaly detection algorithm