Using conditional matrix print macro for debugging