add shrinking in svm.jl