added a cross entropy error measure for binary classification problems