Fixed QuickMedian, removed old