invmat function

Moore-Penrose Pseudoinverse of a Matrix