Add simpler example for rolling max, and implement ascending minima

The ascending minima implementation also includes the `minp`
parameter, so that has slightly more work in the algo.