Added call to write the genetic algorithm output to scratch_dir/genetic_reorder.dat to avoid multiple runs of this part of the algorithm. Also corrected a typo. Changed CheckFileExistence from CheckFileExistance