Function implementing the Rescorla-Wagner learning equations without cue competition (for illustration purposes).
Useful links