Finish the implementations for t-SNE.