Octave function for calculating the cv error.
Cost function for logistic regression.
Initial commit of addOneCol function.