Ginv function

Compute Generalized Inverse of Input Matrix