A Computational Method for Evaluating Generalized Inversesyy