cleanup; remove pylab depens, collapse findZero function