static void writeCSV(String sFileName, String text)
	{
		try
		{
			boolean writeHeader = false;
			File csv = new File(sFileName);
			if (!csv.exists())
				writeHeader = true;

			FileWriter writer = new FileWriter(csv, true);
			if (writeHeader)
				writer.append("NN_Path;Learn_Path;WeigthMatrix;LearningRate;MaxIterations;Threshold;CurrentIteration;SumOfAllErrors;Learned;Error;\n");

			writer.append(text);
			writer.flush();
			writer.close();
		}
		catch (IOException e)
		{
			e.printStackTrace();
		}
	}