On Similarity and the Diagonal of a Matrix