Finished methods of similarity

Finished methods to get similarity between users.