made changes for implementation of invocation of lbfgs