Cleaned logistic regression functions
Added plot of learning curves