regularization should have unit tests
Created by: wilsonmr
as above, since I think it will slightly change anyway I will address this once it has
Created by: wilsonmr
as above, since I think it will slightly change anyway I will address this once it has