tune_tot script

I think it would be nice to have a script which tunes the mean TOT to a specific target value e.g. mean tot of 5.3 at 6000e input charge.