created vectors, begin cosine sim