Added some comments to logisticTraining.m