Cleaned up the code used to create the bifurcation diagram.