SVM Alghoritm implementation in JAVA