pub fn compute_zigzag(steps: &[ZigzagStep]) -> Vec<(f64, f64, usize)>
Compute zigzag persistence for a sequence of steps.
Processes all steps in order and returns all completed (birth, death, dim) pairs.
(birth, death, dim)