Algorithm 933: Reliable calculation of numerical rank, null space bases, pseudoinverse solutions, and basic solutions using suitesparseQR
REGULARIZATION TOOLS: A Matlab package for analysis and solution of discrete ill-posed problems