Add sample_assignments methods to cython clustering classes