Given a fixed set of rewards, calculate the Q array