Error out instead of applying 1D Nelder-Mead
Merge pull request #67 from JuliaOpt/jmw/onedim

Error out for 1-dimensional functions