Checks if a matrix is skew-symmetric.