Binary Cross Entropy Function Python Programming