matrix_compare function

Non-zero element-wise comparison between two sparse matrices