values from value iteration work, but the helper functions computeQValueFromValues() and computeActionFromValues do not work