Modified ShamirSecure class to receive BigInteger values