Calculate the median of a set of samples