Added Median

Added Beta Median
Testing..