If x is symmetric within the tolerance specified by tol,
then return the dimension of x. Otherwise, return 0. If
tol is omitted, use a tolerance equal to the machine precision.
Matrix x is considered symmetric if
norm (x - x.', inf) / norm (x, inf) < tol.