classifier training updates
default dim to -1
cal=0 means don't cal
more complete readme
class fix
remove bodge for string labels