Modification of mass balance output.

- optimization of input types and its reading
- small changes in csv output method
Mass balance output in csv and GnuPlot format.

- modification of output
- format output by delimiter char
- optimization of data header printout