fix trans matrix normalization