Graphing capability in progress

Much of the functionality of graphing works, but still stuff to fix.