Refined the grouping algorithm to use all data and allow for offsetting the initial class boundaries.  Also added estimate of median from frequency table.