Realized attrRes was being recorded twice, with the ground truth attribute result being written over. Fixed. Untested
New file trial2.m to test discovery of multiple attribute 'levels', rather than pre-specifying the two levels as in trial1.m