Fixed the traversal bug
It works now and the debug log is updated. Might need to consider using stride + 1 everywhere, or just making stride accomodate the cluster assignment and comprehending this anytime the data vector is traversed (i.e. skipping the count%stride-1)