Fixing wiener's private key generation, plus random errors.
Moving back continued fractions stuff to wiener.c.