Input matlab, An in column order, and writes the data to a text file