Sorry I committed the python scrip along with the actual fix. This not actually testing anything yet, and it takes quite some time to run. I used that to check that the classification implementation was really O(n²).