Graphing with minor errors fixed.

Fixed minor errors so everything compiles, but still have yet to fully test
graphing.