Fixed bug of not finding the information in the matrix. Minor changes.
Modified use of trainingDisplay, minor changes, change in algorithm still pending.