support vector machines, minor cleanups