Add print-outs when training

For the whole training error in training set