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

Oh geez. Thanks. Do you have a suggestion difference than "aux" for the filename? Apparently it's not allowed on Windows.