Stepwise training accuracy, use this in predict2.m instead of classification accuracy