A reconfigurable parallel architecture for SVM