bfgs plumbed in - test gradients now