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

`return currObj <= initObj+funConst*step*initGrad`