Integrating reinforcement-learning, accumulator models, and motor-primitives to study action selection and reaching in monkeys