.
Refactor inversion

Refactor the inversion part.
Consider to handle three parts (static inversion, deconvolution, occam)
together.
Try to use design patterns.
(1) Composite pattern for regularization
(2) Use template method pattern to organize three different inversions.