changed MovingMedian to MovingPercentile