liblbfgs java version translate from c