Adding profiles to similarity matrix