remove unused constant
correct possible object pinning bug
add prime proability function and test
adjust result size for ratios to avoid GMP reallocation
add tests for rational number arithmetic