Weighted medians and means for Julia.