added gpu median filter with performance issues