Change axes length calculation -- Fix issue 58

Change the size of the axes displayed in the plot and add a small padding to avoid cases where the plot would have a sphere crossed by an axis line.

Test suite and javascript code was updated accordingly.