Found a fatal flaw in the current approach
Need a different data type to store in the vector because T by itself is insufficient to store cluster assignments.