added regularizer support to ted_linear_regression