Minor fix to U_matrix