Make FindMedian static