Fixed arrayMedianFinder method