Improve and export the PRINT-MATRIX* functions.

Add an output designator and compile-time variable output format.