Writing timing results to output file "timing.txt" by taking mean.