extrema/1
tests for extrema/1
export extrema/1 (duh); fix tests for extrema/1 (more duh); regen docs