Gmp 307

I believe all of the functions are working, but I had to comment out some of the tests that I couldn't figure out.