optimization tweaking

modify Nelder_Mead to return number of function evaluations;
   return number of function evaluations in @optinfo slot
more meaningful error message when optimx not loaded
tweaks to getOptfun()