Refactor t-SNE