Simple algorithms for M-alternative forced-choice calculations