Add one-digit method 'smartN' for N > 2

Previously, 'smart1' and 'smart2' were hardcoded. Made general.
Functionality is the same for those options, but now supports 'smart3'
and so on.