Elements of the Theory of Generalized Inverses of Matrices