Updated windowed zero crossing