Added TD value iteration