Fixed a small bug in the learning rate and counting of correct / wrong results.