updated to use gmp.h replacing CBigNum. initial commits for cuda