Ginv function

Generalized Inverse of a Matrix