Update BigNumber library and fix bugs
Update gitignore