Added code to export fann training to csv