Changed to calculating acceleration on the fly
Added option to show graph interactively. Slows down execution
considerably.

Need to find a way to sanity check the acceleration calculations and
graphs.