Overhaul, fixes, better poincare and bifurcation.