Added in linear regression, only takes 0.02 seconds. very bad accuracy though. Maybe I implemented it wrong