Fix bug 483: optimize outer-products to skip setZero and a scalar multiple when not needed.
Fix the computation of the default pivot  threshold for sparse QR