VC
sanity check added
additional sanity check if trainingset is empty
rendering class dictionary fixed