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

Is this comment associated with the block below?