Added functions for intializing and getting values in Q, so that external
classes can always refer to observation state rather than the agent state
(which may change from agent to agent).