Extending the Equity Model: Perception of Inputs and Allocation of Reward as a Function of Duration and Quantity of Performance.