PsiTrainingState class is refactored.
Merge pull request #787 from fenyo1/PsiTrainingStateRefactor

PsiTrainingState class is refactored.
fix negative graph thing