Fixed a for loop indexing error with the k-DPP sampler