cocopro: added ability to compute prediction accuracy on test data;