add functions and macros for better display of results, in preparation for more challenging initial conditions and more robust root-finding algorithms.