setting default regularization to 0.0
Extending a method (regularization here) requires importing that method into the module that does the extending; fix regularization