Grid output routine now uses numpy.savetxt