Made regularization consts doubles.