Added output of condition #, support for weighted graph norm.