Revised calculator using the BigNum Library