transposed matrices for better memory alignment