Correct the error of computing standard deviation, 
and compute the rate of correct classification.
Add save method and load method for saving and 
loading training models.