Bugfixes for QLearning. Added results of tests #1 and #2.