Use cosine similarity
Scan instead of each_char
Fixing brittle test
Adding script to bootstrap db