more or less done rewriting the theory chapter, ran some tests with depressing results. Must still run tests with polynomial regression to verify that it does not work