Fixed bug with early median, prob_so_far calculations