Added linear regression to the database