changed default value of regularization const