Accumulator Based Arbitration Model for both Supervised and Reinforcement Learning Inspired by Prefrontal Cortex