Updated graphing for the final paper version, fixed a few bugs