Input Functions for defining groupbys & sums

The lead_group_select and lead_group_sum functions make changing the
output table settings a one-step process.  Rather than changing each
variable one-by-one.