BigNumber: fix HAC 14.32 reduction, fix modular exponentiation