Updated mat_median(), included mat_order_statistic().