This fixes #1
Cross-entropy error function added