Cleanup: Isolated the globals and moved the sphere coloring code to it's own function.
Merge branch 'bisection'