finished code to generate cropped transformed dataset, added svm test for this data