fixed online SVM, switched to column major matrices so it is compatible with all kinds of BLAS implementations