Separated array-writing routine into a function write_array, which:
Separated array-writing routine into a function write_array, which:

- can write arrays in many formats

- can write arrays of arbitrary rank


git-svn-id: 8c9cf565d959f48f2495bfea3c697473c881f37a@33 67c13c2a-ce2d-4362-9fbd-a73952e22801

tschaume/gnuplot-py,tschaume/gnuplot-py