added decorator to allow for perseveration bonuses

add_perseveration decorates the function that calculates action values
calculate_Q_bonuses is used by the decorator to add perseveration
bonuses post-hoc