Value Function Approximation in Reinforcement Learning Using the Fourier Basis