Matlab Reinforcement Learning Episode Manager