wrote up cross entropy for logistic regression