WIP: fix a bug in lbfgso

Change-Id: I2c9666b8d62f38c2f7556f29ad8f4ba0ef68debf
WIP: add amoeba test file

Change-Id: I833a5c79808d7cf3283d6e10e9299b8cf61c139e
WIP: fenito

Change-Id: I9571fdd9c446f9d5eaadeeebbd7d79938f09b40b