Added logistic regression code and began testing