Update RLearning.cpp