Moved private part of svmtool.h to the cpp file. Also embellish the files a bit.