graph axes all accurate and to scale, graph looks pretty now, needs better commenting and cleaning up