implemented learning curve plotter for logreg, but found bug in that Octave rounds of 0.999999+ to 1.00000, which messes up the use of the log function in the cost function