Matlab code to run MonkeyLogic for behavioral training and experiments.