SVM Creation

Wrote SVM with what I thought should work but it runs out of memory before completion