Initial commit of functions from github.com/btracey/optimize

If a grad-free method is used, isn't len(location.Gradient) equal to 0?