alignment similarity matrix