Incorrect doc string.
Performance improvements for knn codes, correlation statistic, and bug fixes.