Add BFGS toy implementation