Implemented Offline SVM