Highly Efficient Computation of Generalized Inverse of a Matrix