Instance Learning

The model seems to be working. Need to test with large trial sets.