The table of contents is now hyperlinked

I also had to modify

    \pgfplotsset{compat=newest}

and remove a flag since it stopped me from compiling.

You can change the settings, but for now everything is blue