Added IncompatibleMatrix exceptions, instead of dealing with errors with enums