added legend to phase plane plot, now saves graphstats to bif_data/ directory