Fix my mistake in computing the inverse

Shame on me, algebra 101, oooops...
Merge pull request #3 from jucor/andreiInvP

Fix my bothed inverse computation