compute means and medians.