solved ticket 2385

added BIF ArrayMedian(array)