Added RInverse and associated test.