add mixing matrix and one-element formatting macros