Fixes to bn_add and bn_mul.