Finished single thread GPU implementation.

 - link error present..
Inlined all mpz functions to allow for linking with both g++ and nvcc.
Think this is a proper merge... things seem to be missing though...