Added matrix equality check

Added exception throwing in errorMacros.hu. For some reason, now the
compiler warns about "statement is unreachable", but everything works
fine.
Fixed 'statement is unreachable' messages