Ert 507 Added support for log scaling of histograms.

Log scaling is a flag that has been set in trans_func and is exposed in gen_kw_config.