Find all zeros of function