Median of a Row Wise Sorted Matrix