Improve the checks
Cut the forces in first iteration too
Add a test with dependency
Calculate linear regression
Refactor
Refactor
Refactor
Refactor
Refactoring
Refactor
Refactoring
Refactor
Move linregress to the optimize module
Correct variable name