The Geometry of Generalized Inverses