documentation fix
refactored to explicitly identify zero-crossings via 1st derivative sign change.

removed ztol option (no longer required).
added ddytol option for extrema point filtering