Removed a debug print.
Added tri-factorization from Wang 2008.
Removed repeated line.