Add inverse modulo test.

Values found with Ruby script from
http://rosettacode.org/wiki/Modular_inverse
Mod inverse works, but takes 190 seconds.

On a Macbook Pro. It spends at least 95% of its time on multiplication,
so I’ll tackle that first with something like Karatsuba Ofman.