Script for the test in Collins paper

Training sections: 2-21; Testing sections: 23; 20 iterations