Elgamal Custom implementation

It's terribly slow...See about switching to MPZ? See if that helps?