Updated regression-related layers.  Not yet tested.