Cosine Similarity Output To Database

Cosine similarity between each user is calculated and output to the
database.