main
generateLayout
nDims: number, nMeas: number, nRows: number, qColumnOrder: number[] = [], qGrandTotalRow: Record<string, string>[] = [],