Fixed! Changed a sign error, rewrote the clipping algorithm to reflect the one in the pycasp CUDA templates, as the one described in the Catanzaro paper was both too simplistic and incorrect. fixed the gaussian kernel function. Overall, training the SVM works