Low-complexity, linear circuit implementation of Support Vector Machines training