Correction of trainAndTest bash script