Added definitions for matLogicalArray