Make modInverse public.