Stab at trainSVM automation --- trainSVM is broken ---