started work on vctsm; converted existing code to use cell array of examples