Fixed a couple bugs in the learning algorithm
Fixed a couple bugs in the learning algorithm