Working ex04 with improved matrix style demo