fix t2norm in singular.cc