Refactor regularization matrix.
.
.
First step suceeded.
.
Adjust inversion structure.
Finish refactoring inversion structure.