Octave function for training logistic regression on a training set.
Logistic/sigmoid function used in logistic regression
processCSV function for reading in labels and features.