Signal learning system working.

RL learning system implemented but not working