Fixed a divide by zero in graph2.rb in the case that there was no movement in an axis