Regress: Bug fix for logistic regression, many small changes for robust
variance.

The commit brings the robust variance code in line with the code review.
In addition, the logistic regression will now throw an error if the
output table name parameter is a name for an already existing table.