elementAt works for numel(ind)>1
revert select() behavior to try/catch on UniformOutput