Add helper to fix measurements

The new helper programme reads the file containing the timings and adds
the difference to the closest power of 2 and (n mod 4) to each line
missing those two columns.