Revert "Revert "Correction fonction inverse""

This reverts commit 2e200b845b859b86f2fd8811acacfca87b5f65d7.