Added error detection of non-symmetric matrices