Gravar-mail: A Model of Reward- and Effort-Based Optimal Decision Making and Motor Control