Add new implementation for ml.peak based on Bill Auer's algorithm