Removed all debugging code fragments and performed some minor refactoring to class methods concerned with reinforcement learning.