Added regularization module with Damping

Class passes doctests.