Get state value function from action value function.
getStateValues(action.vals)
[matrix] Action value matrix.
matrix