Splitted zero crossing algo. Fixed tests.