Ported to Python 3, copied and customized Frank-Wolfe SSVM