Update figure_8.R

Make compatible with clean formatting of Dryad submission.