Value Iteration fixed