To display a matrix in in the quote header, use the following code snippet:
quoteProcessor.addOrUpdateOutput( "ROOT", ["resultName": "MetalCoverageMatrix", "resultLabel": "Metal Coverage", "result": matrix, "resultType": "MATRIX"] )