CLSN-1283 matrix directive 1D fixes