The Gauss-Bordering Method for Generalized Inversion of Matrices