Fixing hinge-loss lambda and adding return values to two optimization C wrappers