Regress: Separation of the robust variance function call

The robust variance function call was split into two different
functions.  One for linear regression, and one for logistic regression.
In addition, their are several bug fixes for grouping support in the
linear and logistic regression.