coef_summary function

Computes mean and optional quantiles for a coefficient.