Add rolling histogram and factor out anomaly detection

A function comment would definitely help here. Without reading the function source I can tell that this partitions a list of floats into `good` and `bad`, and it probably uses `compare` to make that determination. But what do `multiplier` and `sentinel` do?