a fix for flipped nan.SVM output and a change in mapping of nan classfiers to (0,1) interval