identity similarity matrix