Update main.cpp

Change for the output configuration file so that it gets plotted in a better orientation by gnuplot