Reformated to octave standard
Now writes variables in non-matrix form