Add Zach's fast sampling and k-means cython code.