Minor changes to exp_hinge and testBF.