only perform cosine similarity on the examples selected. Also fixes some typos in the processing
only perform cosine similarity on the examples selected. Also fixes some typos in the processing

mbojrab/playbox