restructuring - the statistics_wrapper and prepare_timefreq_data
function are not needed any more. See bugzilla 2795