Extracted 'ExecuteAllChecks' method from 'ModifyMatrix' method