pseudoInverse function

Compute a pseudo-inverse matrix