Selective activation of muscles using peripheral nerve electrodes