fix, use median instead of average as suggested in https://www.whonix.org/forum/index.php/topic,267.0.html