Refactored regression line computation code
Some bot stuff