Simplified version using GENTRAN matrix :=: matrix
lang_matrix is no longer used at all