Reorganize main method.
Compute cosine similarity of SparseVectors.