added cosine, jaccard distance for q-gram counts. Needs doc+testing