Minor fixes.
Automatically scaling the histograms, wip.
Adding clock drift derivations to per-sv code.