Rank-Deficient and Discrete Ill-Posed Problems