Added LBFGS optimization method and test