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

Sure, I could have done it right away :-) It is page 143, eq. (6.20).