Normalize the vector before factorizing it, so that error is correctly reported
Remove debug output