[FEATURE] Switched bignum library and handling errors better